home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2001 Haziran / CHIP Haziran2001.iso / prog / haziran / 20 / setup.exe / {app} / plugins / XQ WinNT KnownDLL 1.xpl < prev    next >
Encoding:
XSetup plugin  |  2001-03-28  |  1.5 KB  |  55 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security\Windows NT/2000"
  5. "NAME"="Known DLLs list"
  6. "VERSION"="1.12"
  7. "OSVERSION"="01010"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Disable KnownDLLs cache"
  10. "DESCRIPTION 1"="By default, Windows NT caches system DLLs in a cache called the 'KnownDLLs' list."
  11. "DESCRIPTION 2"="A hacker could change this list in that way, that not the original Windows NT DLL is called, but a changed one from the hacker."
  12. "DESCRIPTION 3"="By activating this option, Windows NT will lock this list so the hacker can't manipulate it."
  13. "DESCRIPTION 4"="For more information, see the following KB article from Microsoft:"
  14. "DESCRIPTION 5"="http://support.microsoft.com/support/kb/articles/q218/4/73.asp"
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20.  
  21.  
  22. sP_NT="HKLM\System\CurrentControlSet\Control\Session Manager\ProtectionMode"
  23. sP_2K="HKLM\System\CurrentControlSet\Control\Session Manager\KnownDLLs"
  24.  
  25. sPath=""
  26. Sub Plugin_Initialize
  27.  if GetWinVer=2 then sPath=sP_NT
  28.  if GetWinVer=4 then sPath=sP_2K
  29.  
  30.  i=RegReadValue(sPath)
  31.     
  32.  if i=1 then
  33.     Call SetUIElement(1,true) 
  34.  end if  
  35. End Sub
  36.  
  37. Sub Plugin_CheckData(ElementIndex)
  38. End Sub
  39.  
  40. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  41.  b=GetUIElement(1)
  42.  if b=true then
  43.     Call RegWriteValue(sPath,1,2) 
  44.  else
  45.     Call RegWriteValue(sPath,0,2) 
  46.  end if
  47. End Sub
  48.  
  49.  
  50. Sub Plugin_Terminate 
  51. End Sub
  52.  
  53.  
  54.  
  55.